Approximate Analysis of Reader/Writer Queues
نویسنده
چکیده
We analyze the performance of queues that serve readers and writers. Readers are served concurrently , while writers require exclusive service. We approximately analyze a rst-come-rst-serve (FCFS) reader/writer queue, and derive simple formulae for computing waiting times and capacity under the assumption of Poisson arrivals and exponential service. We extend the analysis to handle a one-writer queue, and a queue that includes write-intention locks. The simple analyses that we present can be used as rules-of-thumb for designing concurrent systems.
منابع مشابه
Fair Solution to the Reader-Writer-Problem with Semaphores only
The reader-writer-problem is a standard problem in concurrent programming. A resource is shared by several processes which need either inclusive reading or exclusive writing access. The known solutions to this problem typically involve a number of global counters and queues. Here a very simple algorithm is presented which needs only two semaphores for synchronisation and no other global objects...
متن کاملFaster Approximate Agreement with Multi-Writer Registers
We consider the complexity of the wait-free approximate agreement problem in an asynchronous shared memory comprised of only single-bit multi-writer multi-reader registers. For real-valued inputs of magnitude at most s and a real-valued accuracy requirement " > 0 we show matching upper and lower bounds of (log(s=")) steps and shared registers. For inputs drawn from any xed nite range this is si...
متن کاملConstant RMR Transformation to Augment Reader-Writer Locks with Atomic Upgrade/Downgrade Support
The reader-writer problem [1] seeks to provide a lock that protects some critical section of code for two classes of processes: readers and writers. Multiple readers can have access to the critical section simultaneously, but only one writer can have access to the critical section to the exclusion of all other processes. The difficulties in solving the reader-writer problem lie not only in deve...
متن کاملMethods of Persuading the Reader in Golestan by Saadi
Moralistic and didactic texts make up a large part of Persian literature. Undoubtedly, if "the inculcation of a particular concept into the mind of the reader and the attempt to persuade and conquer his mind" is not the main purpose of these texts, it is definitely one of their most important goals. In this sense, the poet or writer of such texts tries to persuade the reader and sway his mind t...
متن کاملMining Sentiment Words from Microblogs for Predicting Writer-Reader Emotion Transition
The conversations between posters and repliers in microblogs form a valuable writer-reader emotion corpus. In a microblog conversation, the writer of the initial post and the reader who replies to the initial post can both express their emotions. The process of changing from writer emotion to reader emotion is called a writer-reader emotion transition in this paper. Log relative frequency ratio...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- IEEE Trans. Software Eng.
دوره 21 شماره
صفحات -
تاریخ انتشار 1995